{% extends 'backstage/base.html' %}
{% from 'macros.html' import render_nav_item %}

{% block title %}Home{% endblock title %}

{% block content %}
    <div class="page-header">
        <h2>{{ _('Admin') }}</h2>
    </div>

    <div class="row">
        <div class="col-md-3">
            <div class="nav nav-pills flex-column" role="tablist" aria-orientation="vertical">
                {{ render_nav_item("admin.index", _("Overview")) }}
                {{ render_nav_item("admin.manage_solution", _("Solution Management")) }}
                {{ render_nav_item("admin.manage_task", _("Task Management")) }}
                {{ render_nav_item("admin.manage_score", _("Score Management")) }}
            </div>
        </div>
        <div class="col-md-9">
            {% block setting_content %} {% endblock %}
        </div>
    </div>
{% endblock %}
